package com.pan;

import com.pan.draw.MxGraphXML;

/**
 * Hello world!
 *
 */
public class DrawEntityXML
{

    private MxGraphXML mxGraphXML = new MxGraphXML();

    public void getXML( String entiyPackagePath)
    {
        String outputDirPath = System.getProperty("user.dir");
        outputDirPath += "\\entiyXml";
        getXML(entiyPackagePath,outputDirPath);
    }

    /**
     *
     * @param entiyPackagePath 运行项目的entity的包名
     * @param outputDirPath 输出的xml文件夹的路径，不写默认在运行项目的根目录下面建立entityXML文件夹
     */
    public void getXML( String entiyPackagePath,String outputDirPath )
    {
        mxGraphXML.getXML(entiyPackagePath,outputDirPath);
    }
}
